home *** CD-ROM | disk | FTP | other *** search
/ Tripas 2 / TRIPAS 002.iso / RRRA.exe / GAME.CON < prev    next >
Encoding:
Text File  |  1998-07-02  |  36.5 KB  |  1,854 lines

  1. /*
  2. --------------------------------------------------------------------------------
  3. Redneck Rampage GAME.CON file.
  4. --------------------------------------------------------------------------------
  5.  
  6. IMPORTANT NOTICE IF YOU USE MODIFIED .CON FILES
  7.  
  8. If you are playing a MULTIPLAY game and you are using
  9. *modified* .CON files then each multiplayer must be
  10. using the EXACT SAME .CON files, or the game will
  11. get out of sync and/or develop interesting problems.
  12.  
  13. Xatrix encourages you to experiment freely with the parameters
  14. contained in this file, and to share your discoveries with the rest
  15. of the world.  However, BE ADVISED that Xatrix does NOT offer
  16. any technical support on how to use this file or other user-modifiable
  17. features of this game.  Do NOT call Xatrix or Interplay
  18. for advice or help with this subject.
  19.  
  20. You make modifications to this and other files at your own risk.
  21. It is recommended that you first make a backup copy of this, or
  22. any .CON files before making any changes.
  23. --------------------------------------------------------------------------------
  24. */
  25.  
  26. include DEFS.CON
  27. include USER.CON
  28.  
  29. action ANULLACTION 0
  30.  
  31. // Play a randomly chosen sound or phrase
  32. state jib_sounds
  33.   ifrnd SWEARFREQUENCY
  34.   {
  35.     ifrnd 128
  36.     {
  37.       ifrnd 128
  38.       {
  39.         ifrnd 128
  40.         {
  41.           ifrnd 128
  42.           {
  43.             ifrnd 128
  44.               globalsound JIBBED12
  45.             else
  46.               globalsound JIBBED1
  47.           }
  48.           else
  49.             globalsound JIBBED9
  50.         }
  51.         else
  52.         {
  53.           ifrnd 128
  54.           {
  55.             ifrnd 128
  56.               globalsound LN_FLYOP
  57.             else
  58.               globalsound JIBBED2
  59.           }
  60.           else
  61.             globalsound WUSSLAF
  62.         }
  63.       }
  64.       else
  65.       {
  66.         ifrnd 128
  67.         {
  68.           ifrnd 128
  69.             globalsound LN_SHTHD
  70.           else
  71.             globalsound JIBBED5
  72.         }
  73.         else
  74.             globalsound LN_RODE
  75.       }
  76.     }
  77.     else
  78.     {
  79.       ifrnd 128
  80.       {
  81.         ifrnd 128
  82.         {
  83.           ifrnd 128
  84.             globalsound JIBBED11
  85.           else
  86.             globalsound JIBBED13
  87.         }
  88.         else
  89.         {
  90.           ifrnd 128
  91.             globalsound JIBBED3
  92.           else
  93.             globalsound JIBBED8
  94.         }
  95.       }
  96.       else
  97.       {
  98.         ifrnd 128
  99.         {
  100.           ifrnd 128
  101.             globalsound JIBBED6
  102.           else
  103.             globalsound JIBBED4
  104.         }
  105.         else
  106.         {
  107.           ifrnd 128
  108.             globalsound JIBBED10
  109.           else
  110.             globalsound JIBBED7
  111.         }
  112.       }
  113.     }
  114.   }
  115. ends
  116.  
  117. // Display a nice gory selection of
  118. // splashing blood, and body parts
  119. state standard_jibs
  120.   guts JIBS2 1
  121.   guts JIBS3 2
  122.   guts JIBS4 3
  123.   guts JIBS5 2
  124.   guts JIBS6 3
  125.   ifrnd 6
  126.   {
  127.     guts JIBS1 1
  128.     spawn BLOODPOOL
  129.   }         // spine
  130.   state jib_sounds
  131. ends
  132.  
  133. state minion_shitshower
  134.   guts MINJIBA 1
  135.   guts MINJIBB 1
  136.   guts MINJIBC 1
  137. ends
  138.  
  139. state standard_minionjibs
  140.   guts JIBS2 1
  141.   guts JIBS3 2
  142.   guts MINJIBA 1
  143.   guts MINJIBB 1
  144.   guts MINJIBC 1
  145.   ifrnd 6
  146.   {
  147.     guts JIBS1 1
  148.     spawn BLOODPOOL
  149.   }         // spine
  150. ends
  151.  
  152. move RESPAWN_ACTOR_FLAG
  153.  
  154. state jibfood
  155.   sound SQUISHED
  156.   guts JIBS6 3
  157.   killit
  158. ends
  159.  
  160. state rf
  161.   ifrnd 128
  162.     cstat 4
  163.   else
  164.     cstat 0
  165. ends
  166.  
  167. state nf
  168.   cstat 0
  169. ends
  170.  
  171. state bf
  172.   cstat 0
  173. ends
  174.  
  175. action BURNING_FLAME  0   12   1   1   2
  176. move BURNING_VELS
  177.  
  178. state burningstate
  179.  
  180.   sleeptime 300
  181.  
  182.   ifspawnedby BURNING
  183.   {
  184.     ifgapzl 16
  185.       break
  186.   }
  187.   else ifspawnedby BURNING2
  188.   {
  189.     ifgapzl 16
  190.       break
  191.   }
  192.  
  193.   ifpdistg 10240
  194.     break
  195.  
  196.   ifcount 128
  197.   {
  198.     sizeto 8 8
  199.     sizeto 8 8
  200.     ifcount 192
  201.       killit
  202.   }
  203.   else
  204.   {
  205.     ifmove 0
  206.       move BURNING_VELS
  207.  
  208.     sizeto 52 52
  209.  
  210.     ifp palive
  211.       ifpdistl 844
  212.         ifrnd 32
  213.           ifcansee
  214.     {
  215.       soundonce LN_PAIN8
  216.       addphealth -1
  217.       palfrom 24 16
  218.     }
  219.   }
  220.  
  221. ends
  222.  
  223. /*
  224. actor EMPTYBIKE fall enda
  225. actor EMPTYBOAT fall enda
  226. */
  227.  
  228. actor BURNING WEAK BURNING_FLAME
  229.   state burningstate
  230. enda
  231.  
  232. actor BURNING2 WEAK BURNING_FLAME
  233.   state burningstate
  234. enda
  235.  
  236. /*
  237. state steamcode
  238.   ifpdistl 8192
  239.     soundonce STEAM_HISSING
  240.  
  241.   ifcount 20
  242.     {
  243.       resetcount
  244.       ifp palive
  245.         ifpdistl 1024
  246.       {
  247.         addphealth -1
  248.         palfrom 16 16
  249.       }
  250.     }
  251.   else
  252.   {
  253.     ifspawnedby STEAM
  254.       break
  255.     else
  256.       ifspawnedby CEILINGSTEAM
  257.         break
  258.  
  259.     sizeto 24 24
  260.   }
  261. ends
  262.  
  263. action STEAMFRAMES    0     5     1     1     1
  264. actor STEAM 0 STEAMFRAMES
  265.   state steamcode
  266. enda
  267.  
  268. actor CEILINGSTEAM 0 STEAMFRAMES
  269.   state steamcode
  270. enda
  271. */
  272.  
  273. actor WATERBUBBLEMAKER 0 0 randomangle
  274.   ifpdistl 3084
  275.     ifrnd 24
  276.       spawn WATERBUBBLE
  277. enda
  278.  
  279. action BUBBLE
  280. action CRACKEDBUBBLE  1
  281. move BUBMOVE       -10 -36
  282. move BUBMOVEFAST     -10 -52
  283.  
  284. actor WATERBUBBLE 0 BUBBLE BUBMOVE getv geth randomangle
  285.  
  286.   ifaction CRACKEDBUBBLE
  287.   {
  288.     ifinwater
  289.       ifrnd 192
  290.         killit
  291.     ifactioncount 7
  292.       killit
  293.   }
  294.   else
  295.   {
  296.     ifcount 4
  297.     {
  298.       ifrnd 192
  299.         move BUBMOVE getv geth randomangle
  300.       else
  301.         move BUBMOVEFAST getv geth randomangle
  302.       resetcount
  303.     }
  304.  
  305.     ifonwater
  306.     {
  307.       iffloordistl 8
  308.         action CRACKEDBUBBLE
  309.     }
  310.     else
  311.       ifactioncount 40
  312.         action CRACKEDBUBBLE
  313.   }
  314. enda
  315.  
  316.  
  317. move SMOKEVEL 8 -16
  318. move ENGINE_SMOKE 64 -64
  319. move SMOKESHOOTOUT -192
  320. action SMOKEFRAMES 0 4 1 1 10
  321.  
  322. actor SMALLSMOKE 0 SMOKEFRAMES
  323.   ifmove 0
  324.   {
  325.     ifspawnedby SECTOREFFECTOR
  326.       move ENGINE_SMOKE geth getv
  327.     else
  328.       move SMOKEVEL geth getv faceplayer
  329.     ifspawnedby CROSSBOW
  330.       cstat 2
  331.   }
  332.   ifpdistl 1596
  333.     ifspawnedby CROSSBOW
  334.       killit
  335.   ifactioncount 4
  336.     killit
  337. enda
  338.  
  339. move SPAWNED_BLOOD
  340.  
  341. state random_ooz
  342.   ifrnd 128
  343.     spawn OOZ2
  344.   else
  345.     spawn OOZ
  346. ends
  347.  
  348. action EXPLOSION_FRAMES 0 20 1 1  4
  349. actor EXPLOSION2 1 EXPLOSION_FRAMES
  350.   ifactioncount 20
  351.     killit
  352. enda
  353.  
  354. action EXPLOSION3_FRAMES -1 20 1 1 4
  355. actor EXPLOSION3 1 EXPLOSION3_FRAMES
  356.   sizeat 64 64
  357.   ifactioncount 20
  358.     killit
  359. enda
  360.  
  361. actor EXPLOSION2BOT 1 EXPLOSION_FRAMES
  362.   ifactioncount 20
  363.     killit
  364. enda
  365.  
  366. action RIP_F 0 8 1 1 1
  367. actor FORCERIPPLE 0 RIP_F
  368.   ifactioncount 8
  369.     killit
  370. enda
  371.  
  372. // This actors animation is used to
  373. // indicate that something is
  374. // being respawned
  375. action TRANSFOWARD 0  6  1  1  2
  376. action TRANSBACK   5  6  1 -1  2
  377. actor TRANSPORTERSTAR 0 TRANSFOWARD
  378.   ifaction TRANSFOWARD
  379.   {
  380.     ifactioncount 6
  381.       action TRANSBACK
  382.   }
  383.   else
  384.     ifactioncount 6
  385.       killit
  386. enda
  387.  
  388. action BEAMFOWARD  0  4  1  1  9
  389. actor TRANSPORTERBEAM 0 BEAMFOWARD
  390.   sizeto 32 64
  391.   sizeto 32 64
  392.   sizeto 32 64
  393.   ifactioncount 4
  394.     killit
  395. enda
  396.  
  397. /*
  398. // This is for Juke Box
  399. action ASPEAKERBROKE 1
  400. useractor notenemy SPEAKER
  401.   ifaction 0
  402.   {
  403.     ifhitweapon
  404.     {
  405.       stopsound BAR_MUSIC
  406.       soundonce STORE_MUSIC_BROKE
  407.       action ASPEAKERBROKE
  408.     }
  409.     else
  410.     {
  411.       soundonce BAR_MUSIC
  412.       cstat 257
  413.     }
  414.   }
  415. enda
  416. */
  417.  
  418. // This is for TESLA RAY
  419. useractor notenemy TESLA
  420.   ifaction 0
  421.   {
  422.     ifpdistl 1024 {
  423.        addphealth -2
  424.     }
  425.     soundonce TESLARC
  426.     // cstat 257
  427.     cstat 17
  428.   }
  429. enda
  430.  
  431. // Play a sound when player picks up item
  432. // then delete sprite from map
  433. // OR setup to be respawned
  434. state getcode
  435.   ifactor ECLAIRHEALTH
  436.     globalsound YEHAA16 // GETECLAIRHEALTH
  437.   else
  438.     globalsound JUG
  439.   palfrom 16 0 32
  440.   ifrespawn
  441.   {
  442.     move RESPAWN_ACTOR_FLAG
  443.     spawn RESPAWNMARKERRED
  444.     cstat 32768
  445.   }
  446.   else
  447.     killit
  448. ends
  449.  
  450. // Play a random sound when player
  451. // picks up a weapon
  452. state randgetweapsnds
  453.   ifrnd 64
  454.     globalsound LN_HUSH
  455.   else
  456.     ifrnd 96
  457.       globalsound LN_HOLD
  458.   else
  459.     ifrnd 128
  460.       globalsound LN_HOTDM
  461.   else
  462.     ifrnd 140
  463.       globalsound LN_STINK
  464.   else
  465.     ifrnd 128
  466.       globalsound LN_BBQ
  467.   else
  468.     globalsound LN_SCREW
  469. ends
  470.  
  471. // Play a random sound when player
  472. // picks up a weapon
  473. // Then either setup weapon to be respawned
  474. // OR delete sprite from map
  475. state getweaponcode
  476.  
  477.   state randgetweapsnds
  478.  
  479.   palfrom 32 0 32
  480.   ifgotweaponce 1
  481.     break
  482.   ifrespawn
  483.   {
  484.     move RESPAWN_ACTOR_FLAG
  485.     spawn RESPAWNMARKERRED
  486.     cstat 32768
  487.   }
  488.   else
  489.     killit
  490. ends
  491.  
  492. // if count > RESPAWNITEMTIME
  493. // Play the TRANSPORTERSTAR animation with
  494. // the TELEPORTER sound effect
  495. state respawnit
  496.   ifcount RESPAWNITEMTIME
  497.   {
  498.     spawn TRANSPORTERSTAR
  499.     move 0
  500.     cstat 0
  501.     sound TELEPORT
  502.   }
  503. ends
  504.  
  505. // Play a sound when player picks up item
  506. // then delete sprite from map
  507. state quikget
  508.   ifactor ECLAIRHEALTH
  509.     globalsound YEHAA16 // GETECLAIRHEALTH
  510.   else
  511.     globalsound JUG
  512.   palfrom 16 0 32
  513.   killit
  514. ends
  515.  
  516. // Play a sound from randgetweapsnds
  517. // then delete sprite from map
  518. state quikweaponget
  519.   state randgetweapsnds
  520.   palfrom 32 0 32
  521.   ifgotweaponce 1
  522.     break
  523.   killit
  524. ends
  525.  
  526. // Moonshine make the player faster, stronger,
  527. // and less susceptable to damage.
  528. // Studies have proven this to be true
  529. // Play a sound when player picks up item
  530. // then delete sprite from map
  531. // OR setup to be respawned
  532. actor MOONSHINE
  533.   fall
  534.   ifmove RESPAWN_ACTOR_FLAG
  535.     state respawnit
  536.   else ifp palive
  537.     ifcount 6
  538.       ifpdistl RETRIEVEDISTANCE
  539.         ifpinventory GET_MOONSHINE MOONSHINE_AMOUNT
  540.           ifcanseetarget
  541.           {
  542.              addinventory GET_MOONSHINE MOONSHINE_AMOUNT
  543.              quote 37
  544.              ifspawnedby MOONSHINE
  545.                 state getcode
  546.              else
  547.                 state quikget
  548.           }
  549. enda
  550.  
  551. // Boots are used to walk through toxic water
  552. // Play a sound when player picks up item
  553. // then delete sprite from map
  554. // OR setup to be respawned
  555. actor BOOTS
  556.   fall
  557.   ifmove RESPAWN_ACTOR_FLAG
  558.     state respawnit
  559.   else
  560.     ifp palive
  561.       ifcount 6
  562.         ifpdistl RETRIEVEDISTANCE
  563.           ifpinventory GET_BOOTS BOOT_AMOUNT
  564.             ifcanseetarget
  565.             {
  566.                addinventory GET_BOOTS BOOT_AMOUNT
  567.                quote 6
  568.                ifspawnedby BOOTS
  569.                   state getcode
  570.                else
  571.                   state quikget
  572.             }
  573. enda
  574.  
  575. actor COWPIE
  576.   fall
  577.   ifmove RESPAWN_ACTOR_FLAG
  578.     state respawnit
  579.   else
  580.     ifp palive
  581.       ifcount 6
  582.         ifpdistl RETRIEVEDISTANCE
  583.           ifpinventory GET_COWPIE COWPIE_AMOUNT
  584.             ifcanseetarget
  585.             {
  586.                addinventory GET_COWPIE COWPIE_AMOUNT
  587.                quote 88
  588.                ifspawnedby COWPIE
  589.                   state getcode
  590.                else
  591.                   state quikget
  592.             }
  593. enda
  594.  
  595. actor BEER
  596.   fall
  597.   ifmove RESPAWN_ACTOR_FLAG
  598.     state respawnit
  599.   else
  600.     ifp palive
  601.       ifcount 6
  602.         ifpdistl RETRIEVEDISTANCE
  603.           ifpinventory GET_BEER BEER_AMOUNT
  604.             ifcanseetarget
  605.             {
  606.                addinventory GET_BEER BEER_AMOUNT
  607.                quote 91
  608.                ifspawnedby BEER
  609.                   state getcode
  610.                else
  611.                   state quikget
  612.             }
  613. enda
  614.  
  615. // Allows player to breathe under water
  616. // Play a sound when player picks up item
  617. // then delete sprite from map
  618. // OR setup to be respawned
  619. actor SNORKLE
  620.   fall
  621.   ifmove RESPAWN_ACTOR_FLAG
  622.     state respawnit
  623.   else
  624.     ifp palive
  625.       ifcount 6
  626.         ifpdistl RETRIEVEDISTANCE
  627.           ifpinventory GET_SCUBA SCUBA_AMOUNT
  628.             ifcanseetarget
  629.             {
  630.               addinventory GET_SCUBA SCUBA_AMOUNT
  631.               quote 39
  632.               ifspawnedby SNORKLE
  633.                 state getcode
  634.               else
  635.                 state quikget
  636.             }
  637. enda
  638.  
  639. // Keys are used to open locked doors
  640. // that lead into different levels of the
  641. // map
  642. // Play a sound when player picks up item
  643. // then delete sprite from map
  644. // OR setup to be respawned
  645. actor DOORKEY
  646.   fall
  647.   ifmove RESPAWN_ACTOR_FLAG
  648.     state respawnit
  649.   else
  650.     ifp palive
  651.       ifpdistl RETRIEVEDISTANCE
  652.         ifcount 6
  653.           // ifcanseetarget
  654.           {
  655.             ifpinventory GET_KEYS 0
  656.               break
  657.             addinventory GET_KEYS 1
  658.             quote 43
  659.             state getcode
  660.           }
  661. enda
  662.  
  663. // Extra ammo for CASUL
  664. // Play a sound when player picks up item
  665. // then delete sprite from map
  666. // OR setup to be respawned
  667. actor AMMO
  668.   fall
  669.   ifmove RESPAWN_ACTOR_FLAG
  670.     state respawnit
  671.   else
  672.     ifp palive
  673.       ifpdistl RETRIEVEDISTANCE
  674.         ifcount 6
  675.           ifcanseetarget
  676.           {
  677.             addammo CASUL_WEAPON CASULAMMOAMOUNT
  678.             quote 65
  679.             ifspawnedby AMMO
  680.               state getcode
  681.             else
  682.               state quikget
  683.           }
  684. enda
  685.  
  686. // Extra ammo for TEATGUN
  687. // Play a sound when player picks up item
  688. // then delete sprite from map
  689. // OR setup to be respawned
  690. actor TEATAMMO
  691.   fall
  692.   ifmove RESPAWN_ACTOR_FLAG
  693.     state respawnit
  694.   else
  695.     ifp palive
  696.       ifpdistl RETRIEVEDISTANCE
  697.         ifcount 6
  698.           ifcanseetarget
  699.           {
  700.             addammo TEATGUN_WEAPON 50
  701.             quote 47
  702.             ifspawnedby TEATAMMO
  703.               state getcode
  704.             else
  705.               state quikget
  706.           }
  707. enda
  708.  
  709.  
  710. // Extra ammo for MOTORCYCLEGUN
  711. // Play a sound when player picks up item
  712. // then delete sprite from map
  713. // OR setup to be respawned
  714. actor MOTOAMMO
  715.   fall
  716.   ifmove RESPAWN_ACTOR_FLAG
  717.     state respawnit
  718.   else
  719.     ifp palive
  720.       ifpdistl RETRIEVEDISTANCE
  721.         ifcount 6
  722.           ifonmoto    
  723.             ifcanseetarget
  724.             {
  725.               addammo MOTORCYCLE_WEAPON 50
  726.               quote 135
  727.               ifspawnedby MOTOAMMO
  728.                 state getcode
  729.               else
  730.                 state quikget
  731.             }
  732. enda
  733.  
  734. // Extra ammo for BOATGUN
  735. // Play a sound when player picks up item
  736. // then delete sprite from map
  737. // OR setup to be respawned
  738. actor BOATAMMO
  739.   ifmultiplayer
  740.   {
  741.   fall
  742.   ifmove RESPAWN_ACTOR_FLAG
  743.     state respawnit
  744.   else
  745.     ifp palive
  746.       ifpdistl RETRIEVEDISTANCE
  747.         ifcount 6
  748.           ifonboat    
  749.             ifcanseetarget
  750.             {
  751.               addammo BOAT_WEAPON 10
  752.               quote 138
  753.               ifspawnedby BOATAMMO
  754.                 state getcode
  755.               else
  756.                 state quikget
  757.             }
  758.   }
  759.   else
  760.   {
  761.   fall
  762.   ifaction 0 
  763.   {
  764.     cstat 256
  765.   }
  766.   ifmove RESPAWN_ACTOR_FLAG state respawnit
  767.   ifhitweapon
  768.   {
  769.     ifwasweapon MOTOHIT
  770.     {
  771.       ifmotofast
  772.       {
  773.         ifmultiplayer
  774.           break
  775.         spawn EXPLOSION3
  776.         soundonce DYNEW
  777.         spawn BURNING
  778.         hitradius POWDERKEGBLASTRADIUS POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH
  779.         killit
  780.         break
  781.       }
  782.     }
  783.     else
  784.     {
  785.       ifmultiplayer
  786.         break
  787.       spawn EXPLOSION3
  788.       soundonce DYNEW
  789.       spawn BURNING
  790.       hitradius POWDERKEGBLASTRADIUS POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH
  791.       killit
  792.       break
  793.     }
  794.   }
  795.   else
  796.     ifp palive
  797.       ifpdistl RETRIEVEDISTANCE
  798.         ifcount 6
  799.           ifonboat    
  800.             ifcanseetarget
  801.             {
  802.               addammo BOAT_WEAPON 10
  803.               quote 138
  804.               ifspawnedby BOATAMMO
  805.                 state getcode
  806.               else
  807.                 state quikget
  808.             }
  809.   }
  810. enda
  811.  
  812.  
  813. // Extra ammo for SAWBLADE GUN
  814. // Play a sound when player picks up item
  815. // then delete sprite from map
  816. // OR setup to be respawned
  817. actor BLADEAMMO
  818.   fall
  819.   ifmove RESPAWN_ACTOR_FLAG
  820.     state respawnit
  821.   else
  822.     ifp palive
  823.       ifpdistl RETRIEVEDISTANCE
  824.         ifcount 6
  825.           ifcanseetarget
  826.           {
  827.             addammo THROWSAW_WEAPON 20
  828.             quote 48
  829.             ifspawnedby BLADEAMMO
  830.               state getcode
  831.             else
  832.               state quikget
  833.           }
  834. enda
  835.  
  836.  
  837. // Extra ammo for shotgun
  838. // Play a sound when player picks up item
  839. // then delete sprite from map
  840. // OR setup to be respawned
  841. actor SHOTGUNAMMO
  842.   fall
  843.   ifmove RESPAWN_ACTOR_FLAG
  844.     state respawnit
  845.   else
  846.     ifp palive
  847.       ifcount 6
  848.         ifpdistl RETRIEVEDISTANCE
  849.           ifcanseetarget
  850.           {
  851.             addammo SHOTGUN_WEAPON SHOTGUNAMMOAMOUNT
  852.             quote 69
  853.             ifspawnedby SHOTGUNAMMO
  854.               state getcode
  855.             else
  856.               state quikget
  857.           }
  858. enda
  859.  
  860. // Extra ammo for CASUL
  861. // Play a sound when player picks up item
  862. // then delete sprite from map
  863. // OR setup to be respawned
  864. /*
  865. actor AMMOLOTS
  866.   fall
  867.   ifmove RESPAWN_ACTOR_FLAG
  868.     state respawnit
  869.   else
  870.     ifp palive
  871.       ifcount 6
  872.         ifpdistl RETRIEVEDISTANCE
  873.           ifcanseetarget
  874.           {
  875.             addammo CASUL_WEAPON 6
  876.             quote 65
  877.             ifspawnedby AMMOLOTS
  878.               state getcode
  879.             else
  880.               state quikget
  881.           }
  882. enda
  883. */
  884.  
  885. // Extra ammo
  886. // Play a sound when player picks up item
  887. // then delete sprite from map
  888. // OR setup to be respawned
  889. actor RIFLEAMMO
  890.   fall
  891.   ifmove RESPAWN_ACTOR_FLAG
  892.     state respawnit
  893.   else
  894.     ifp palive
  895.       ifpdistl RETRIEVEDISTANCE
  896.         ifcount 6
  897.           ifcanseetarget
  898.           {
  899.             addammo RIFLE_WEAPON RIFLEAMMOAMOUNT
  900.             quote 63
  901.             ifspawnedby RIFLEAMMO
  902.               state getcode
  903.             else
  904.               state quikget
  905.           }
  906. enda
  907.  
  908. // Play a sound when player picks up item
  909. // then delete sprite from map
  910. // OR setup to be respawned
  911. actor ALIENARMGUN
  912.   fall
  913.   ifmove RESPAWN_ACTOR_FLAG
  914.     state respawnit
  915.   else
  916.     ifp palive
  917.       ifpdistl RETRIEVEDISTANCE
  918.         ifcount 6
  919.           ifcanseetarget
  920.           {
  921.             ifgotweaponce 0
  922.               break
  923.  
  924.             addweapon ALIENBLASTER_WEAPON 33
  925.             quote 87
  926.             ifspawnedby ALIENARMGUN
  927.               state getweaponcode
  928.             else
  929.               state quikweaponget
  930.           }
  931. enda
  932.  
  933. // Play a sound when player picks up item
  934. // then delete sprite from map
  935. // OR setup to be respawned
  936. actor ALIENBLASTERAMMO
  937.   fall
  938.   ifmove RESPAWN_ACTOR_FLAG
  939.     state respawnit
  940.   else
  941.     ifp palive
  942.       ifpdistl RETRIEVEDISTANCE
  943.         ifcount 6
  944.           ifcanseetarget
  945.           {
  946.             addammo ALIENBLASTER_WEAPON ALIENBLASTERAMMOAMOUNT
  947.             quote 14
  948.            ifspawnedby ALIENBLASTERAMMO
  949.              state getcode
  950.            else
  951.              state quikget
  952.           }
  953. enda
  954.  
  955. // Play a sound when player picks up item
  956. // then delete sprite from map
  957. // OR setup to be respawned
  958. actor BOWLINGBALLSPRITE
  959.   fall
  960.   ifmove RESPAWN_ACTOR_FLAG
  961.     state respawnit
  962.   else
  963.     ifp palive
  964.         ifpdistl RETRIEVEDISTANCE
  965.           ifcount 6
  966.             ifcanseetarget
  967.       {
  968.         ifgotweaponce 0
  969.           break
  970.         addweapon BOWLINGBALL_WEAPON 1
  971.         quote 60
  972.         ifspawnedby BOWLINGBALLSPRITE
  973.           state getweaponcode
  974.         else
  975.           state quikweaponget
  976.       }
  977. enda
  978.  
  979. // Extra Dynamite ammo
  980. // Play a sound when player picks up item
  981. // then delete sprite from map
  982. // OR setup to be respawned
  983. actor HBOMBAMMO
  984.   fall
  985.   ifaction 0 
  986.   {
  987.     cstat 256
  988.   }
  989. //  ifmultiplayer
  990. //  {
  991. //    ifmove RESPAWN_ACTOR_FLAG state respawnit
  992. //    else
  993. //      ifp palive
  994. //        ifpdistl RETRIEVEDISTANCE
  995. //          ifcount 6
  996. //            ifcanseetarget
  997. //            {
  998. //              ifgotweaponce 0
  999. //                 break
  1000. //
  1001. //              addweapon DYNAMITE_WEAPON DYNAMITEBOX
  1002. //              addammo CROSSBOW_WEAPON DYNAMITEBOX
  1003. //              quote 55
  1004. //
  1005. //              ifspawnedby HBOMBAMMO
  1006. //                state getweaponcode
  1007. //              else
  1008. //                state quikweaponget
  1009. //            }
  1010. //  }
  1011. //  else
  1012. //  {
  1013.     ifmove RESPAWN_ACTOR_FLAG state respawnit
  1014.     ifhitweapon
  1015.     {
  1016.       ifwasweapon MOTOHIT
  1017.       {
  1018.         ifmotofast
  1019.         {
  1020.           spawn EXPLOSION3
  1021.           soundonce DYNEW
  1022.           spawn BURNING
  1023.           hitradius POWDERKEGBLASTRADIUS POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH
  1024.           killit
  1025.           break
  1026.         }
  1027.       }
  1028.       else
  1029.       {
  1030.         spawn EXPLOSION3
  1031.         soundonce DYNEW
  1032.         spawn BURNING
  1033.         hitradius POWDERKEGBLASTRADIUS POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH
  1034.         killit
  1035.         break
  1036.       }
  1037.     }
  1038.     else
  1039.       ifp palive
  1040.         ifpdistl RETRIEVEDISTANCE
  1041.           ifcount 6
  1042.             ifcanseetarget
  1043.             {
  1044.               ifgotweaponce 0
  1045.                  break
  1046.  
  1047.               addweapon DYNAMITE_WEAPON DYNAMITEBOX
  1048.               addammo CROSSBOW_WEAPON DYNAMITEBOX
  1049.               quote 55
  1050.  
  1051.               ifspawnedby HBOMBAMMO
  1052.                 state getweaponcode
  1053.               else
  1054.                 state quikweaponget
  1055.             }
  1056.  
  1057. //  }
  1058. enda
  1059.  
  1060.  
  1061. // Extra chickenbow ammo
  1062. // Play a sound when player picks up item
  1063. // then delete sprite from map
  1064. // OR setup to be respawned
  1065. actor RPG2SPRITE
  1066.   ifpdistl 7000
  1067.     soundonce CHKAMMO
  1068.   ifmultiplayer
  1069.   {
  1070.   fall
  1071.   ifmove RESPAWN_ACTOR_FLAG
  1072.     state respawnit
  1073.   else
  1074.     ifp palive
  1075.       ifpdistl RETRIEVEDISTANCE
  1076.         ifcount 6
  1077.           ifcanseetarget
  1078.           {
  1079.             ifgotweaponce 0
  1080.               break
  1081.             addammo CHICKEN_WEAPON CHICKENBOWAMMOBOX
  1082.             quote 56
  1083.             ifspawnedby RPG2SPRITE
  1084.               state getweaponcode
  1085.             else
  1086.               state quikweaponget
  1087.           }
  1088.   }
  1089.   else
  1090.   {
  1091.  
  1092.   fall
  1093.   ifaction 0 
  1094.   {
  1095.     cstat 256
  1096.   }
  1097.   ifmove RESPAWN_ACTOR_FLAG state respawnit
  1098.   ifhitweapon
  1099.   {
  1100.     ifwasweapon MOTOHIT
  1101.     {
  1102.       ifmotofast
  1103.       {
  1104.         ifmultiplayer
  1105.           break
  1106.         spawn EXPLOSION3
  1107.         soundonce DYNEW
  1108.         spawn BURNING
  1109.         feathers 8
  1110.         hitradius POWDERKEGBLASTRADIUS POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH
  1111.         killit
  1112.         break
  1113.       }
  1114.     }
  1115.     else
  1116.     {
  1117.       ifmultiplayer
  1118.         break
  1119.       spawn EXPLOSION3
  1120.       soundonce DYNEW
  1121.       spawn BURNING
  1122.       feathers 8   
  1123.       hitradius POWDERKEGBLASTRADIUS POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH
  1124.       killit
  1125.       break
  1126.     }
  1127.   }
  1128.   else
  1129.     ifp palive
  1130.       ifpdistl RETRIEVEDISTANCE
  1131.         ifcount 6
  1132.           ifcanseetarget
  1133.           {
  1134.             addammo CHICKEN_WEAPON CHICKENBOWAMMOBOX
  1135.             quote 140 
  1136.  
  1137.             ifspawnedby RPG2SPRITE
  1138.               state getcode   
  1139.             else
  1140.               state quikget
  1141.           }
  1142.  
  1143.   }
  1144. enda
  1145.  
  1146. // Play a sound when player picks up item
  1147. // then delete sprite from map
  1148. // OR setup to be respawned
  1149. actor CROSSBOWSPRITE
  1150.   fall
  1151.   ifmove RESPAWN_ACTOR_FLAG
  1152.     state respawnit
  1153.   else
  1154.     ifp palive
  1155.       ifpdistl RETRIEVEDISTANCE
  1156.         ifcount 6
  1157.           ifcanseetarget
  1158.           {
  1159.             ifgotweaponce 0
  1160.               break
  1161.  
  1162.             addweapon CROSSBOW_WEAPON CROSSBOWAMMOBOX
  1163.             addammo DYNAMITE_WEAPON DYNAMITEBOX
  1164.             quote 56
  1165.             ifspawnedby CROSSBOWSPRITE
  1166.               state getweaponcode
  1167.             else
  1168.               state quikweaponget
  1169.           }
  1170. enda
  1171.  
  1172. // Shotgun for player to pick up
  1173. //  either placed on level by designers
  1174. //  OR spawned by Billy
  1175. // Play a sound when player picks up item
  1176. // then delete sprite from map
  1177. // OR setup to be respawned
  1178. actor SHOTGUNSPRITE
  1179.   fall
  1180.   ifmove RESPAWN_ACTOR_FLAG
  1181.     state respawnit
  1182.   else
  1183.     ifp palive
  1184.       ifpdistl RETRIEVEDISTANCE
  1185.         ifcount 6
  1186.           ifcanseetarget
  1187.           {
  1188.             // randomly set how much
  1189.             // ammo shotgun has
  1190.             ifspawnedby BILLYRAY
  1191.             {
  1192.               addweapon SHOTGUN_WEAPON 0
  1193.               ifrnd 64
  1194.                 addammo SHOTGUN_WEAPON 4
  1195.               else ifrnd 64
  1196.                 addammo SHOTGUN_WEAPON 4
  1197.               else ifrnd 64
  1198.                 addammo SHOTGUN_WEAPON 2
  1199.               else
  1200.                 addammo SHOTGUN_WEAPON 2
  1201.             }
  1202.             else
  1203.             {
  1204.               ifgotweaponce 0
  1205.                 break
  1206.               addweapon SHOTGUN_WEAPON SHOTGUNAMMOAMOUNT
  1207.               quote 57
  1208.             }
  1209.  
  1210.             ifspawnedby SHOTGUNSPRITE
  1211.               state getweaponcode
  1212.             else
  1213.               state quikweaponget
  1214.           }
  1215. enda
  1216.  
  1217. actor BUZSAWSPRITE
  1218.   fall
  1219.   ifmove RESPAWN_ACTOR_FLAG
  1220.     state respawnit
  1221.   else
  1222.     ifp palive
  1223.         ifpdistl RETRIEVEDISTANCE
  1224.           ifcount 6
  1225.             ifcanseetarget
  1226.       {
  1227.         ifgotweaponce 0
  1228.           break
  1229.         addweapon THROWSAW_WEAPON 10
  1230.         quote 61
  1231.         ifspawnedby BUZSAWSPRITE
  1232.           state getweaponcode
  1233.         else
  1234.           state quikweaponget
  1235.       }
  1236. enda
  1237.  
  1238. actor TEATGUN
  1239.   fall
  1240.   ifmove RESPAWN_ACTOR_FLAG
  1241.     state respawnit
  1242.   else
  1243.     ifp palive
  1244.         ifpdistl RETRIEVEDISTANCE
  1245.           ifcount 6
  1246.             ifcanseetarget
  1247.       {
  1248.         ifgotweaponce 0
  1249.           break
  1250.         addweapon TEATGUN_WEAPON 50
  1251.         quote 59
  1252.         ifspawnedby TEATGUN
  1253.           state getweaponcode
  1254.         else
  1255.           state quikweaponget
  1256.       }
  1257. enda
  1258.  
  1259. //  Adds thirty points to players health
  1260. //  OR if players health is > 70
  1261. //  bumps health to 100
  1262. // Play a sound when player picks up item
  1263. // then delete sprite from map
  1264. // OR setup to be respawned
  1265. actor PORKBALLS
  1266.   fall
  1267.   ifmove RESPAWN_ACTOR_FLAG
  1268.     state respawnit
  1269.   else
  1270.     ifp palive
  1271.       ifpdistl RETRIEVEDISTANCE
  1272.         ifcount 6
  1273.           ifphealthl MAXPLAYERHEALTH
  1274.             ifcanseetarget
  1275.             {
  1276.                iseat 10
  1277.                quote 62
  1278.                ifspawnedby PORKBALLS
  1279.                  state getcode
  1280.                else
  1281.                  state quikget
  1282.             }
  1283. enda
  1284.  
  1285. // Bumps players health up to MAXPLAYERHEALTH
  1286. // Play a sound when player picks up item
  1287. // then delete sprite from map
  1288. // OR setup to be respawned
  1289. actor ECLAIRHEALTH
  1290.   fall
  1291.   ifmove RESPAWN_ACTOR_FLAG
  1292.     state respawnit
  1293.   else
  1294.     ifp palive
  1295.       ifpdistl RETRIEVEDISTANCE
  1296.         ifcount 6
  1297.           ifphealthl MAXPLAYERECLAIRHEALTH
  1298.             ifcanseetarget
  1299.             {
  1300.               addphealth 50
  1301.               quote 19
  1302.               ifspawnedby ECLAIRHEALTH
  1303.                 state getcode
  1304.               else
  1305.                 state quikget
  1306.             }
  1307. enda
  1308.  
  1309.  
  1310. // Portable health.  Holds 100 health points
  1311. // Play a sound when player picks up item
  1312. // then delete sprite from map
  1313. // OR setup to be respawned
  1314. actor WHISKEY
  1315.   fall
  1316.   ifmove RESPAWN_ACTOR_FLAG state respawnit
  1317.   else
  1318.     ifp palive
  1319.       ifpdistl RETRIEVEDISTANCE
  1320.         ifcount 6
  1321.           ifpinventory GET_WHISKEY WHISKEY_AMOUNT
  1322.             ifcanseetarget
  1323.             {
  1324.               addinventory GET_WHISKEY WHISKEY_AMOUNT
  1325.               quote 3
  1326.  
  1327.               ifspawnedby WHISKEY
  1328.                 state getcode
  1329.               else
  1330.                 state quikget
  1331.             }
  1332. enda
  1333.  
  1334. // Play a sound when player picks up item
  1335. // then delete sprite from map
  1336. // OR setup to be respawned
  1337. actor FIRSTGUNSPRITE
  1338.   fall
  1339.   ifmove RESPAWN_ACTOR_FLAG
  1340.     state respawnit
  1341.   else
  1342.     ifp palive
  1343.       ifpdistl RETRIEVEDISTANCE
  1344.         ifcount 6
  1345.           ifcanseetarget
  1346.           {
  1347.             ifgotweaponce 0
  1348.               break
  1349.             addweapon CASUL_WEAPON 48
  1350.             ifspawnedby FIRSTGUNSPRITE
  1351.               state getweaponcode
  1352.             else
  1353.               state quikweaponget
  1354.           }
  1355. enda
  1356.  
  1357. // IF NOT USED LATER, DELETE
  1358. // Play a sound when player picks up item
  1359. // then delete sprite from map
  1360. // OR setup to be respawned
  1361. actor POWDERKEGSPRITE
  1362.   fall
  1363.   ifaction 0
  1364.   {
  1365.     cstat 256
  1366.   }
  1367.  
  1368.   ifhitweapon
  1369.   {
  1370.     spawn EXPLOSION2
  1371.     soundonce DYNEW
  1372.     spawn BURNING
  1373.     hitradius POWDERKEGBLASTRADIUS POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH
  1374.     killit
  1375.     break
  1376.   }
  1377.  
  1378.   ifmove RESPAWN_ACTOR_FLAG
  1379.     state respawnit
  1380.   else
  1381.     ifp palive
  1382.       ifpdistl RETRIEVEDISTANCE
  1383.         ifcount 60
  1384.           ifcanseetarget
  1385.           {
  1386.            ifgotweaponce 0
  1387.             break
  1388.  
  1389.            addweapon POWDERKEG_WEAPON 1
  1390.            quote 58
  1391.            ifspawnedby POWDERKEGSPRITE
  1392.              state getweaponcode
  1393.            else
  1394.              state quikweaponget
  1395.           }
  1396. enda
  1397.  
  1398. actor BARREL
  1399.   fall
  1400.   ifaction 0
  1401.   {
  1402.     cstat 257
  1403.   }
  1404.  
  1405.   ifhitweapon
  1406.   {
  1407.     spawn EXPLOSION2
  1408.     soundonce DYNEW
  1409.     spawn BURNING
  1410.     hitradius POWDERKEGBLASTRADIUS POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH
  1411.     newpic 5028
  1412.     cstat 0 
  1413.     break
  1414.   }
  1415. enda
  1416.  
  1417. actor BARREL2
  1418.   fall
  1419.   ifaction 0
  1420.   {
  1421.     cstat 257
  1422.   }
  1423.  
  1424.   ifhitweapon
  1425.   {
  1426.     spawn EXPLOSION2
  1427.     soundonce DYNEW
  1428.     spawn BURNING
  1429.     hitradius POWDERKEGBLASTRADIUS POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH POWDERKEG_STRENGTH
  1430.     newpic 5042
  1431.     cstat 0 
  1432.     break
  1433.   }
  1434. enda
  1435.  
  1436. // IF NOT USED LATER, DELETE
  1437. // Play a sound when player picks up item
  1438. // then delete sprite from map
  1439. // OR setup to be respawned
  1440. actor RIFLESPRITE
  1441.   fall
  1442.   ifmove RESPAWN_ACTOR_FLAG
  1443.     state respawnit
  1444.   else
  1445.     ifp pshrunk nullop
  1446.     else
  1447.       ifp palive
  1448.         ifpdistl RETRIEVEDISTANCE
  1449.           ifcount 6
  1450.             ifcanseetarget
  1451.       {
  1452.         ifgotweaponce 0
  1453.           break
  1454.  
  1455.         addweapon RIFLE_WEAPON 30
  1456.         quote 54
  1457.         ifspawnedby RIFLESPRITE
  1458.           state getweaponcode
  1459.         else
  1460.           state quikweaponget
  1461.       }
  1462. enda
  1463.  
  1464. action FIRE_FRAMES   -1 14 1 1 8
  1465. move FIREVELS
  1466.  
  1467. state firestate
  1468.  
  1469.   ifaction 0
  1470.     ifrnd 16
  1471.     {
  1472.       action FIRE_FRAMES
  1473.       cstator 128
  1474.     }
  1475.  
  1476.   sleeptime 300         // Never let it fall to sleep
  1477.  
  1478.   ifspawnedby FIRE
  1479.   {
  1480.     ifgapzl 16
  1481.       break
  1482.   }
  1483.   else
  1484.     ifspawnedby FIRE2
  1485.   {
  1486.     ifgapzl 16
  1487.       break
  1488.   }
  1489.  
  1490.   ifinwater
  1491.     killit
  1492.  
  1493.   ifp palive
  1494.     ifpdistl 844
  1495.       ifrnd 32
  1496.         ifcansee
  1497.   {
  1498.     soundonce LN_PAIN8
  1499.     addphealth -1
  1500.     palfrom 32 32
  1501.   }
  1502.  
  1503.   ifactor FIRE
  1504.   {
  1505.     ifspawnedby FIRE
  1506.       break
  1507.   }
  1508.   else
  1509.     ifactor FIRE2
  1510.       ifspawnedby FIRE2
  1511.         break
  1512.  
  1513.   iffloordistl 128
  1514.   {
  1515.     ifrnd 128
  1516.     {
  1517.       ifcount 84
  1518.         killit
  1519.                 // This line(and the else below)
  1520.                 // is not necessary, since actors
  1521.                 // with zero x-size are automatically
  1522.                 // deleted anyway!
  1523.       else
  1524.         ifcount 42
  1525.           sizeto 0 0
  1526.       else
  1527.         sizeto 32 32
  1528.     }
  1529.   }
  1530.   else
  1531.     killit
  1532.  
  1533. ends
  1534.  
  1535. useractor notenemy FIRE WEAK 0 FIREVELS state firestate enda
  1536. useractor notenemy FIRE2 WEAK 0 FIREVELS state firestate enda
  1537.  
  1538. state drop_ammo
  1539.   ifrnd SPAWNAMMOODDS
  1540.     spawn AMMO
  1541. ends
  1542.  
  1543. state drop_pistol
  1544.   // ifrnd SPAWNAMMOODDS
  1545.     spawn FIRSTGUNSPRITE
  1546. ends
  1547.  
  1548. state drop_sgshells
  1549.   ifrnd SPAWNAMMOODDS
  1550.     spawn SHOTGUNAMMO
  1551. ends
  1552.  
  1553. state drop_shotgun
  1554.   ifrnd SPAWNAMMOODDS
  1555.     spawn SHOTGUNSPRITE
  1556. ends
  1557.  
  1558. state random_wall_jibs
  1559.   ifrnd 96
  1560.     shoot BLOODSPLAT1
  1561.   ifrnd 96
  1562.     shoot BLOODSPLAT2
  1563.   ifrnd 96
  1564.     shoot BLOODSPLAT3
  1565.   ifrnd 96
  1566.     shoot BLOODSPLAT4
  1567.   ifrnd 96
  1568.     shoot BLOODSPLAT1
  1569. ends
  1570.  
  1571. state killme
  1572.   ifp pfacing
  1573.     ifpdistl 1280
  1574.       ifhitspace
  1575.         soundonce KILLME
  1576. ends
  1577.  
  1578. action BLOODFRAMES 0 4 1 1 15
  1579. actor BLOOD 0 BLOODFRAMES
  1580.   sizeto 48 48 sizeto 48 48 sizeto 48 48
  1581.   ifpdistg 3144 killit
  1582.   ifactioncount 4 killit
  1583. enda
  1584.  
  1585. action SAWBLADE 0 1 1 1 1
  1586. actor CIRCLESTUCK 0 SAWBLADE
  1587.   ifactioncount 256
  1588.   {
  1589.     fall
  1590.     iffloordistl 8 {
  1591.       lotsofglass 3
  1592.       killit
  1593.     }
  1594.   }
  1595. enda
  1596.  
  1597.  
  1598. useractor enemy UFOBEAM THROWSAW_WEAPON_STRENGTH enda
  1599.  
  1600. action DESTROYER 0 1 1 1 1
  1601. ai AIDESTROYER DESTROYER 0 faceplayer
  1602. ai AIDESTROYER1 DESTROYER 0 faceplayer
  1603. ai AIDESTROYER2 DESTROYER 0 faceplayer
  1604. useractor notenemy DESTRUCTO MEGASTRENGTH
  1605.   ifaction 0 {
  1606.     ifspritepal 0
  1607.     {
  1608.       cstat 256
  1609.     }
  1610.     else 
  1611.     {
  1612.       cstat 0
  1613.     }
  1614.     cstator 32768
  1615.     ai AIDESTROYER
  1616.   }
  1617.   ifhitweapon {
  1618.     ai AIDESTROYER1
  1619.   }
  1620.   ifai AIDESTROYER1
  1621.   {
  1622.     ifactioncount 1
  1623.     {
  1624.       ifspritepal 2
  1625.       {
  1626.         destroyit
  1627.       }
  1628.       else
  1629.       {
  1630.         destroyit
  1631.         ifrnd 32
  1632.           sound DYNEW
  1633.         else
  1634.           soundonce DYNEW
  1635.         ifrnd 128
  1636.         {
  1637.           spawn BURNING
  1638.           killit
  1639.         }
  1640.         else
  1641.         {
  1642.           ai AIDESTROYER2
  1643.         }
  1644.       }
  1645.     }
  1646.     ifactioncount 0
  1647.     {
  1648.       ifspritepal 0
  1649.       {
  1650.         destroyit
  1651.         spawn EXPLOSION2
  1652.         soundonce DYNEW
  1653.         spawn BURNING
  1654.         killit
  1655.       }
  1656.       ifspritepal 1
  1657.       {
  1658.         destroyit
  1659.         spawn EXPLOSION2
  1660.         soundonce DYNEW
  1661.         spawn BURNING
  1662.         killit
  1663.       }
  1664.     }
  1665.   }
  1666.   ifai AIDESTROYER2
  1667.   {
  1668.     ifrnd 128
  1669.     {
  1670.       spawn EXPLOSION2
  1671.       ifrnd 32
  1672.         sound DYNEW
  1673.       else
  1674.         soundonce DYNEW
  1675.       ifrnd 32
  1676.       {
  1677.         killit
  1678.       }
  1679.     }
  1680.   }
  1681. enda
  1682.  
  1683. // Weapon actors
  1684. actor CROWBAR CROWBAR_WEAPON_STRENGTH enda
  1685. actor SLINGBLADE SLINGBLADE_WEAPON_STRENGTH enda  
  1686. actor SHITBALL SHITBALL_WEAPON_STRENGTH enda
  1687. actor RIFLE RIFLE_WEAPON_STRENGTH enda
  1688. actor SHOTGUN SHOTGUN_WEAPON_STRENGTH enda
  1689. actor MOTOGUN MOTOGUN_WEAPON_STRENGTH enda
  1690. actor FIRELASER FIRELASER_WEAPON_STRENGTH enda
  1691. actor DYNAMITE DYNAMITE_WEAPON_STRENGTH enda
  1692. actor BOUNCEMINE BOUNCEMINE_WEAPON_STRENGTH enda
  1693. actor MORTER MORTER_WEAPON_STRENGTH enda
  1694. actor CHEERBOMB MORTER_WEAPON_STRENGTH enda     
  1695. actor TESLABALL MORTER_WEAPON_STRENGTH enda
  1696. actor CROSSBOW CROSSBOW_WEAPON_STRENGTH enda
  1697. actor CHICKENBOW CHICKENBOW_WEAPON_STRENGTH enda  
  1698.  
  1699. // actor ALIENBLASTERBLAST PLASMATHROWER_WEAPON_STRENGTH enda
  1700. // actor COOLEXPLOSION1 COOL_EXPLOSION_STRENGTH enda
  1701. actor BUZSAW BUZSAW_WEAPON_STRENGTH enda
  1702.  
  1703. actor OWHIP ALIENGISMO_WEAPON_STRENGTH enda
  1704. actor UWHIP ALIENGISMO_WEAPON_STRENGTH enda
  1705. actor DILDO PLASMATHROWER_WEAPON_STRENGTH enda
  1706.  
  1707. action BATON 0 4 1 1 5
  1708. actor CHEERBLADE THROWSAW_WEAPON_STRENGTH BATON enda
  1709.  
  1710. action SAWBLADE1 0 7 1 1 10
  1711. actor CIRCLESAW THROWSAW_WEAPON_STRENGTH SAWBLADE1 enda
  1712.  
  1713. action WEAP2FRAMES 0  4  1  1  6
  1714. actor SHOTSPARK1 CASUL_WEAPON_STRENGTH WEAP2FRAMES
  1715.   ifdead
  1716.     killit
  1717.   ifactioncount 4
  1718.     killit
  1719.   else
  1720.   {
  1721.     ifactioncount 3
  1722.     {
  1723.       ifinwater
  1724.         spawn WATERBUBBLE
  1725.     }
  1726.     else
  1727.       ifcount 2 nullop
  1728.       else
  1729.         ifonwater
  1730.           spawn WATERSPLASH2
  1731.         else
  1732.           ifonmud
  1733.             spawn MUD
  1734.   }
  1735. enda
  1736.  
  1737. include "LEONARD.CON"
  1738. include "BILLY.CON"
  1739. include "HEN.CON"
  1740. include "COOT.CON"
  1741. include "MOSQUITO.CON"
  1742. include "COW.CON"
  1743. include "PIG.CON"
  1744. include "MINION.CON"
  1745. include "HULK.CON"
  1746. // include "EVILLEN.CON"
  1747. // include "TORNADO.CON"
  1748. include "SHERIFF.CON"
  1749. include "VIXEN.CON"
  1750. include "BUBBA.CON"
  1751. include "DOG.CON"
  1752. include "CRICKETC.CON"
  1753. include "RABBIT.CON"
  1754. include "BIKER.CON"  
  1755. include "BIKERB.CON"
  1756. include "BIKERBV2.CON"
  1757. include "ROCK.CON"
  1758. include "CHEERB.CON"
  1759. include "CHEER.CON"
  1760. include "CHEERS.CON"
  1761. include "MAMA.CON"
  1762. include "MAMAC.CON"
  1763. include "MINIONBT.CON"
  1764. include "CHEERBT.CON" 
  1765. include "HULKBT.CON" 
  1766. include "COOTPLAY.CON"       
  1767. include "BILLPLAY.CON"       
  1768. include "MAKEOUT.CON"
  1769. include "STUFF.CON"
  1770. // include "WEED.CON"
  1771.  
  1772. /*
  1773. action ALAVABUBBLE
  1774. action ALAVABUBBLEANIM 0 5 1 1 16
  1775.  
  1776. useractor notenemy LAVABUBBLE
  1777.   ifaction 0
  1778.   {
  1779.     cstat 32768
  1780.     action ALAVABUBBLE
  1781.   }
  1782.   else
  1783.     ifaction ALAVABUBBLE
  1784.   {
  1785.     ifcount 72
  1786.       ifrnd 2
  1787.     {
  1788.       cstat 0
  1789.       action ALAVABUBBLEANIM
  1790.     }
  1791.   }
  1792.   else
  1793.   {
  1794.     ifactioncount 5
  1795.     {
  1796.       cstat 32768
  1797.       action ALAVABUBBLE
  1798.     }
  1799.   }
  1800. enda
  1801. */
  1802.  
  1803. action TIKI      0  1 1 1 1
  1804. action TIKI_ANIM 24 2 1 1 1
  1805. move NO_MOVE
  1806. ai AITIKILAMP1 TIKI NO_MOVE
  1807. ai AITIKILAMP2 TIKI_ANIM NO_MOVE
  1808. useractor notenemy TIKILAMP REALLYTOUGH
  1809.   ifaction 0
  1810.   {
  1811.     cstat 256
  1812.     ai AITIKILAMP1
  1813.   }
  1814.   ifhitweapon {
  1815.     ai AITIKILAMP2
  1816.   }
  1817. enda
  1818.  
  1819. useractor enemy MINECARTKILLER MEGASTRENGTH
  1820.   ifaction 0
  1821.   {
  1822.     cstator 32768
  1823.   }
  1824.   ifpdistl 1024
  1825.   {
  1826.     addphealth -1000
  1827.     wackplayer
  1828.   }
  1829. enda
  1830.  
  1831. action BUSTAWINDOWA 0 1 1 1 1
  1832. action BUSTAWINDOWB 1 1 1 1 1
  1833. ai AIBUSTAWIN4A BUSTAWINDOWA NO_MOVE
  1834. ai AIBUSTAWIN4B BUSTAWINDOWB NO_MOVE
  1835. useractor notenemy BUSTAWIN4A WEAK
  1836.   ifhitweapon {
  1837.     ai AIBUSTAWIN4B
  1838.     sound GLASSSND
  1839.     lotsofglass 10
  1840.   }
  1841. enda
  1842.  
  1843. action BUSTAWINDOWC 0 1 1 1 1
  1844. action BUSTAWINDOWD 1 1 1 1 1
  1845. ai AIBUSTAWIN5A BUSTAWINDOWC NO_MOVE
  1846. ai AIBUSTAWIN5B BUSTAWINDOWD NO_MOVE
  1847. useractor notenemy BUSTAWIN5A WEAK
  1848.   ifhitweapon {
  1849.     ai AIBUSTAWIN5B
  1850.     sound GLASSSND
  1851.     lotsofglass 8
  1852.   }
  1853. enda
  1854.